package com.info.zhiduoduo.repository.entity.invoice;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author bob
 * @since 2020-05-24
 */
@Data
@Accessors(chain = true)
@TableName("zdd_invoice_inventory")
public class InvoiceInventory extends Model<InvoiceInventory> {

    private static final long serialVersionUID = 1L;

    /**
     * 创客id
     */
    @TableId(value = "userid", type = IdType.INPUT)
    private Integer userid;
    /**
     * 专票一万元版
     */
    @TableField("spe_ten_thousand")
    private Integer speTenThousand;
    /**
     * 专票十万元版
     */
    @TableField("spe_hundred_thousand")
    private Integer speHundredThousand;
    /**
     * 普票一万元版
     */
    @TableField("gen_ten_thousand")
    private Integer genTenThousand;
    /**
     * 普票十万元版
     */
    @TableField("gen_hundred_thousand")
    private Integer genHundredThousand;
    private Date createtime;
    private Date updatetime;


    @Override
    protected Serializable pkVal() {
        return this.userid;
    }

}
